<?php /*rockedge*/; ?>
<?php
   include "connect.php";
   
   $badgedata = $_POST['badgedata'];
   $badgedata  = explode(',', $badgedata[0]);
   $exp_date =  $badgedata[7];

       	mysqli_query("UPDATE badge_id SET exp_date = '$exp_date' WHERE id = '1' ");
		
require_once(dirname(__FILE__) . "/pr_exp_date.php");
		
?>
